<!DOCTYPE html>
<html th:replace="layout/layout"
      xmlns:th="http://www.thymeleaf.org">
<title th:fragment="titleName">首页</title>
<style th:fragment="styles">
    #chartDiv, #container {
        height: 320px;
        width: 100%;
        overflow: hidden;
    }

</style>
<div th:fragment="content">
    <div class="row wrapper border-bottom white-bg page-heading">
        <div class="col-lg-10">
            <h2>数据迁移</h2>
            <ol class="breadcrumb">
                <li>
                    <a href="/index">首页</a>
                </li>
                <li>
                    <a>系统设置</a>
                </li>
                <li class="active">
                    <strong>数据迁移</strong>
                </li>
            </ol>
        </div>
        <div class="col-lg-2">

        </div>
    </div>
    <div class="wrapper wrapper-content">

        <div class="row  border-bottom white-bg dashboard-header">

            <div class="col-lg-6" >
                <div class="panel panel-info">
                    <div class="panel-heading">
                        <i class="fa fa-info-circle"></i> 订单明细表数据迁移（在相同时间下先迁移订单，然后迁移交易数据，确保两个数据同步）<font color="red">(耐心等待,不要重复点击)</font>
                    </div>
                    <div class="panel-body">
                        <div class="tabs-container">

                            <form class="form-horizontal" id="myformdata">
                                <div class="panel-body form-horizontal">
                                    <div class="row">
                                        <label class="col-lg-3 control-label">订单开始时间</label>
                                        <div class="col-lg-9">
                                            <div class="form-group">
                                                <input type="text" id="date_BeginDate" name="date_BeginDate" placeholder="订单开始时间" autocomplete="off" class="form-control">
                                            </div>
                                        </div>
                                    </div>
                                    <div class="row">
                                        <label class="col-lg-3 control-label">订单结束时间</label>
                                        <div class="col-lg-9">
                                            <div class="form-group">
                                                <input type="text" id="date_EndDate" name="date_EndDate" placeholder="订单结束时间" autocomplete="off" class="form-control">
                                            </div>
                                        </div>
                                    </div>

                                    <div class="row">
                                        <div class="col-lg-6">
                                            <a class="btn btn-success" name="removeOrderList" id="removeOrderList"  onclick="removeData('orderlist');"  >
                                                迁移订单数据
                                            </a>
                                        </div>
                                        <div class="col-lg-6">
                                            <a class="btn btn-success" name="removeOrderRelation" id="removeOrderRelation"  onclick="removeData('orderrelation');"  >
                                                迁移交易数据
                                            </a>
                                        </div>
                                    </div>

                                </div>
                            </form>

                        </div>
                    </div>

                </div>
            </div>




        </div>

    </div>



</div>
<div th:fragment="scriptRef">
    <script th:src="@{/js/lib/inspinia/js/plugins/laydate/laydate.js}"></script>
    <script th:src="@{/js/sysConfig/bakConfig.js}"></script>
</div>
<script th:fragment="scripts" type="text/javascript">
    BakConfig.init();
</script>
</html>